package com.fushenlan.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Administrator
 * @date 2022/5/4 3:04
 */
@ApiModel("缓存请求参数实体")
@Data
public class CacheReqDTO {

    @ApiModelProperty("要删除的缓存key")
    private String deleteKey;

    @ApiModelProperty("删除以keys*样式的所有key")
    private String deleteKeysLike;

    @ApiModelProperty("批量删除key")
    private List<String> batchKeys;

    @ApiModelProperty("清空所选库所有缓存，0-15，共计16个库，默认清空0")
    private String flushDbNo;

}
